package cn.wolfcode.wechat.service;

import cn.wolfcode.wechat.domain.Coupon;

import java.util.List;

/**
 * Created by A on 2017/12/30.
 */
public interface ICouponService {

    void saveCoupon(Long cilentId,Long couponId);
    void deleteCoupon(Long cilentId,Long couponId);

    List<Coupon> selectByCilentId(Long cilentId);

    Long selectCilentIdByOpenId(String openId);

    Long selectCouponIdByPrizeNum(Long couponId);

    int selectRelation(Long cilentId, Long couponId);
}
